package com.enba.mallapi.module.dict.controller.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

@ApiModel(description = "字典项分页响应类")
@Data
public class SysDictItemPageResp implements Serializable {
  private static final long serialVersionUID = 1L;

  private Long id;

  @ApiModelProperty("字典ID")
  private String dictId;

  @ApiModelProperty("字典项文本")
  private String itemText;

  @ApiModelProperty("字典项值")
  private String itemValue;

  @ApiModelProperty("描述")
  private String description;

  @ApiModelProperty("排序")
  private int sortOrder;

  @ApiModelProperty("状态（0-禁用，1-启用）")
  private Integer status;

  @ApiModelProperty("创建时间")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private LocalDateTime createTime;

  private LocalDateTime updateTime;

  private String createBy;

  private String updateBy;
}
